home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id003.dxr / 00240.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  1022 b   |  39 lines

  1. on exitFrame
  2.   go(the frame)
  3.   if the locV of sprite 16 < 179 then
  4.     set the locV of sprite 16 to the locV of sprite 16 + 2
  5.   end if
  6.   if the locH of sprite 16 < 291 then
  7.     set the locH of sprite 16 to the locH of sprite 16 + 2
  8.   end if
  9.   if the locV of sprite 17 < 179 then
  10.     set the locV of sprite 17 to the locV of sprite 17 + 2
  11.   end if
  12.   if the locH of sprite 17 < 401 then
  13.     set the locH of sprite 17 to the locH of sprite 17 + 2
  14.   end if
  15.   if the locV of sprite 19 < 201 then
  16.     set the locV of sprite 19 to the locV of sprite 19 + 2
  17.   end if
  18.   if the locH of sprite 19 > 291 then
  19.     set the locH of sprite 19 to the locH of sprite 19 - 2
  20.   end if
  21.   if the locV of sprite 18 < 201 then
  22.     set the locV of sprite 18 to the locV of sprite 18 + 3
  23.   end if
  24.   if the locH of sprite 18 < 401 then
  25.     set the locH of sprite 18 to the locH of sprite 18 + 3
  26.   end if
  27.   updateStage()
  28.   if the timer < 290 then
  29.     go(the frame)
  30.   else
  31.     startTimer()
  32.     go(the frame + 1)
  33.   end if
  34. end
  35.  
  36. on mouseUp
  37.   go(110)
  38. end
  39.